package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.pojo.User;

public interface UserService {
    User findByUsername(String username);

    PageResult findPage(Integer currentPage, Integer pageSize, String queryString);

    void add(Integer[] roleIds, User user);

    void edit(Integer[] roleIds, User user);

    void deleteById(Integer id);
}
